<?php
    if(file_exists('../../../definitions.inc.php')) include_once('../../../definitions.inc.php');
    include('../../session.inc');
    require_once('../../funct.inc');
    //--------------------MODUL LOGS--------------------------------------
    if (file_exists("modules/logs/logs.inc"))
	    require_once("modules/logs/logs.inc");
    //--------------------------------------------------------------------
    if(!GetAdminID($ID)){echo LOGIN_ERR;exit;}
    if(!Right_Check(2)){header('Location:error.php');exit;}
    include '../../color_style.php';
    include '../../'.LANGUAGE;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	    <?php echo '<meta http-equiv="Content-Type" content="text/html; charset='._CHARSET_.';">'; ?>
		<?php 
			include '../../html_style.php';
		?>
	</head>

<?php
	print "<body style=\"background-color:".Background_Color.";\">";

	require_once('../../../classDB.inc.php');
	require_once('../../functs.inc');
	
	do
	{
	    $_DB = new classDB();
            if (!$_DB->open()){echo OPEN_DB_ERR; break;}
	    
	    print "
		    <form action=\"invoice_year_switch1.php\" method=\"post\" target=\"place\">
		    	<br />
		    	<br />
		    	<b>".INV_ROCNY_PREVOD."</b>
				<br />
				<br />
				".INV_ZADAJTE_NASLEDUJUCE_HODNOTY.":
		    	<table>
		    		<tr>
		    			<td>
		    				<b>".INV_PRECHOD_Z_ROKU."</b>
		    			</td>
		    			<td>
		    				<input type=\"text\" name=\"YearFrom\" value=\"\" />
		    			</td>
		    		</tr>
		    		<tr>
		    			<td>
		    				<b>".INV_PRECHOD_DO_ROKU."</b>
		    			</td>
		    			<td>
		    				<input type=\"text\" name=\"YearTo\" value=\"\" />
		    			</td>
		    		</tr>	    	
		    	</table>
		    	<input type=\"submit\" value=\"".INV_POKRACOVAT."\" />
		    </form>
		    <form action=\"invoice_options.php\" method=\"post\" target=\"place\">
		    	<input type=\"submit\" value=\"".INV_SPAT."\" />
		    </form>
	    ";
	    mysql_close();
	}
	while(false);
?>


</body>
</html>
